package com.springboot.demo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.springboot.demo.dao.userMapper;
import com.springboot.demo.pojo.user;
import com.springboot.demo.service.UserService;

@Service
public class UserServiceImpl implements UserService {
	
	@Autowired
	private userMapper userMapper;


	@Override
	public user selectByPrimaryKey(int i) {
		System.out.println("service层..................................................................");
		return userMapper.selectByPrimaryKey(i);
	}

}
